package com.test.objects;

import java.util.Date;

public class Author {
	private int id;
	private String firstname;
	private String fullname;
	private String account;
	private String password;
	private Date dob;
	private String address;
	private String imageUrl;
	private String description;
	
	public Author(){
		this.id = 0;
		this.fullname = "";
		this.account = "";
		this.password = "";
		this.dob = new Date();
		this.address = "";
		this.imageUrl = "";
		this.description = "";
	}
	
	public Author(String fullname){
		this.id = 0;
		this.fullname = fullname;
		this.account = "";
		this.password = "";
		this.dob = new Date();
		this.address = "";
		this.imageUrl = "";
		this.description = "";
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public String getFirstname() {
		return firstname;
	}
	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}
	
	public String getFullname() {
		return fullname;
	}
	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	public Date getDob() {
		return dob;
	}
	public void setDob(Date dob) {
		this.dob = dob;
	}

	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}

	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}

}
